Auto merge of #3071 - japaric:moar-cargo, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 6 Sep 2016 04:48:16 +0000 (21:48 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Sep 2016 04:48:16 +0000 (21:48 -0700)
commit9419e3f37279740b5848ca6a016d6b5d0c3e1621
treef445d996e6820e836789f6407eb7bf17181edbd5
parent2ef3cdee92324d7dd024b6b431eb581505b37ebf
parentd581274c957f751876f25c790fcf881559b667e0
Auto merge of #3071 - japaric:moar-cargo, r=alexcrichton

prepare for cargo for mips and powerpc

with these changes I can cross compile Cargo for these targets:

- mips-unknown-linux-gnu
- mipsel-unknown-linux-gnu
- powerpc-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
- powerpc64el-unknown-linux-gnu

using these commands:

```
$ ./.travis.install.deps.sh
$ ./configure --local-rust-root=$(pwd)/rustc --enable-nightly --target=$TARGET
$ make
```

in Ubuntu 16.04 using the standard cross toolchains

r? @alexcrichton
cross compiling Cargo for the mips targets requires rust-lang/libc#378